
#ifndef INCLUDE_CHANNEL
#define INCLUDE_CHANNEL

#include "./../io_reuse_module/io_reuse_module_define.h"
#include <cstdint>

class ChannelProtocol
{
public:
    virtual ~ChannelProtocol() = default;
    virtual void    OnEvent(EventData & data) = 0;
    virtual int64_t Index()                   = 0;
    virtual void    Index(int64_t index)      = 0;
    virtual int     ModEvent(int event)       = 0;
    virtual int     DelEvent()                = 0;
    virtual int     AddEvent(int event)       = 0;
    virtual int     DescriptionData()         = 0;
};

#endif
